package com.chaopei.constructor;

/**
 * @Author Corday 天涯
 * @Date 2022/3/4 14:20
 */
public class Rose extends Flower {
    private String sting;
    private  String smell;
    public  Rose(){}

    public Rose(String name, double value, String color, String sting, String smell) {
        super(name, value, color);
        this.sting = sting;
        this.smell = smell;
    }
//    特有set/get方法

    public String getSting() {
        return sting;
    }

    public void setSting(String sting) {
        this.sting = sting;
    }

    public String getSmell() {
        return smell;
    }

    public void setSmell(String smell) {
        this.smell = smell;
    }
}
